<%--
  Created by IntelliJ IDEA.
  User: 23377
  Date: 2021/12/13
  Time: 17:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
  <%
    pageContext.setAttribute("APP_PATH",request.getContextPath());
  %>
  <link href="${APP_PATH}/static/bootstrap-3.4.1-dist/bootstrap-3.4.1-dist/css/bootstrap.min.css" rel="stylesheet" />
  <script type="text/javascript" src="${APP_PATH}/static/js/jQuert-min-3.js"></script>
  <script type="text/javascript" src="${APP_PATH}/static/bootstrap-3.4.1-dist/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>

</head>
<body>
<div class="container">
<div class="row clearfix">
  <div class="col-md-12 column">
    <div class="page-header">
      <h1>
        <small>新增书籍</small>
      </h1>
    </div>
  </div>
</div>
<form action="${pageContext.request.contextPath}/book/addBook"
      method="post" class="form-horizontal">
  <div class="form-group" >
  <label for="inputName">书籍名称：</label>
    <input type="text" name="bookName" id="inputName" class="form-control" style="width: 500px;height: 40px" required/>
  </div>
  <div class="form-group">
  <label for="inputCounts">书籍数量：</label>
    <input type="text" name="bookCount" id="inputCounts" class="form-control"  style="width: 500px;height: 40px" required/>
  </div>
  <div class="form-group">
  <label for="inputDetail">书籍详情:</label>
    <input type="text" name="detail" id="inputDetail" class="form-control"  style="width: 500px;height: 40px" required/>
  </div>
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-primary btn-lg">添加</button>
  </div>
</form>
</div>
</body>
</html>
